data = []
data1 = [{}]

no = []
no1 = []
no2 = []
for i in range(0, len(data1)):
    a = data[i-1]
    if len(no) <1000:
        no.append(a["BUSINESS_NO"])
    elif len(no1) <1000:
        no1.append(a["BUSINESS_NO"])
    elif len(no2)<1000:
        no2.append(a["BUSINESS_NO"])
#     no.append(a["BUSINESS_NO"])
# for j in range(0, len(data1)):
#     a = data[j - 1]
#     no1.append(a["BUSINESS_NO"])
# print(no)
# for m in no:
#     for n in no1:
#         if m == n:
#             no2.append(m)
# no3 = []





# print(no2)

print(no)
# print(no1)
# print(no2)
